{% extends "::layout.html.twig" %}

{% block title %} {{ parent() }} - Login {% endblock %}

{% block body %}
<div id="all">
    
        <div id="all_connection">
             {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
                {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
                <a  href="{{ path('fos_user_security_logout') }}">
                    {{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
                </a>
         
            {% endif %} 
        
            
        {% for key, message in app.session.getFlashes() %}
        <div class="{{ key }}">
        
            {{ message|trans({}, 'FOSUserBundle') }}
        </div>
        {% endfor %}
        
        <div class="logo_saj"></div>
        <div  class="center" id="formLogin">
            
            {% block fos_user_content %}
            {% endblock fos_user_content %}
        </div>
        
        </div>
</div>
{% endblock %}